package com.sicnu.estatemanagement.service;

import com.github.pagehelper.Page;
import com.sicnu.estatemanagement.domain.Device;

import java.util.List;
import java.util.Map;

public interface DeviceService {

    List<Device> findAll();

    Page<Device> search(Map searchMap);

    Boolean add(Device Device);

    Device findById(Integer id);

    Boolean update(Device Device);

    Boolean del(List<Integer> ids);
}
